using System.Collections.Generic;
using System.Text;
using System;
using System.ComponentModel.DataAnnotations;
using Project.Entity.Base;
namespace OASys.Entity
{

    /// <summary>
    /// 请假申请表
    /// </summary>
    public class UTApplyHoliday_Validation
    {


        /// <summary>
        /// 
        /// Length : 
        /// </summary>
        public virtual System.Nullable<Guid> ID { get; set; }

        /// <summary>
        /// 用户ID
        /// Length : 
        /// </summary>
        public virtual System.Nullable<Guid> UserID { get; set; }

        /// <summary>
        /// 开始时间
        /// Length : 
        /// </summary>
        [Required(ErrorMessage = "请输入开始时间！")]
        [Export(DisplayName="开始时间")]
        public virtual System.Nullable<DateTime> BeginTime { get; set; }

        /// <summary>
        /// 结束时间
        /// Length : 
        /// </summary>
        [Required(ErrorMessage = "请输入结束时间！")]
        [Export(DisplayName = "结束时间")]
        public virtual System.Nullable<DateTime> EndTime { get; set; }

        /// <summary>
        /// 
        /// Length : 
        /// </summary>
        public virtual System.Nullable<Decimal> Hours { get; set; }

        /// <summary>
        /// 
        /// Length : 20
        /// </summary>
        [Required(ErrorMessage = "请选择请假类型！")]
        [Export(DisplayName = "请假类型")]
        public virtual System.String HolidayType { get; set; }

        /// <summary>
        /// 
        /// Length : 500
        /// </summary>
        [Required(ErrorMessage = "请输入请假原因！")]
        [Export(DisplayName = "请假原因")]
        public virtual System.String Remark { get; set; }

        /// <summary>
        /// 
        /// Length : 
        /// </summary>
        public virtual System.Nullable<DateTime> InputDate { get; set; }

        /// <summary>
        /// 
        /// Length : 
        /// </summary>
        public virtual System.Nullable<Guid> InputUser { get; set; }

        /// <summary>
        /// 审批流程ID
        /// Length : 
        /// </summary>
        public virtual System.Nullable<Guid> InstanceID { get; set; }

    }
}
